'use strict';

const Controller = require('egg').Controller;

class phoneMessage extends Controller {


    async message(ctx) {

        let PhoneNumber =ctx.request.body.phoneNumber
        var discovery = await ctx.service.phoneMessage.message(PhoneNumber)
        ctx.body = discovery
    }

}

module.exports = phoneMessage;
